SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b001ed7b77fbd3fdbcdfa5b4b3ea4bd7ce021392867379757f046c503bb352bf' 
  AND token = 'Nxp7Xz6T/f6V+8/+AxBTXgG2sz0sMAE2SDfgmFSKvK8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}