SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'df9b4cd3a40bb44801472fcede7c57b5582bff9a70cf0e00c53cdaa9db7841b3' 
  AND token = 'uBQk9Huvr8Hx0/gpGG/cSlEvzQ30rDsUDTxJNbqV0b8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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