SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f65f7f598949f4b1c3750fda573d2e4a1b1d18926f2a1167a7fed71e52613c78' 
  AND token = 'wfiHr7q6sJ2Nkm5sHUEoG3Rwzj5zNekVTcZfeURvPMY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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