SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '322c90b7ba2418bcc36784511f6f9e52f7c70f65d80cc88b5564beb1e27aef8f' 
  AND token = 'e1i0QuK5qKhpP+UNI3thtqt8H3aj0gy9Zu7Ryd4gB/4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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