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

Query time 0.00032

JSON explain

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