SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5f0aff6ea358b40a87e9a44c4c7520b28097f0d76fab21a2a67e13172a4d24f6' 
  AND token = 'm4fpLMsRDiHlMJ3EwnJri1o/vih8Mi0a7yn7q7OkIgY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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