SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5bfef7cb0b5c8c6b78a9895b6e336f9e70f98db4bb8806e4901bfa93b5dd657c' 
  AND token = 'Pb2EHObewkCn/hRKvJFs7wXtfW4843KQYs9W2+MDgKY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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