SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ba0c74ffc57b8ea1eb1efc0b286b3da349290002a234729a09816925eb3fd312' 
  AND token = 'qQJ1Q7kkSvbyH6/3rQXnZ4IY2O/PzbttBqD4NgDnhC8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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