SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ff26fba9ba9b9952e1a5ca1a2d2d1576ef74f657fca3f7dbfc01c15f7c582439' 
  AND token = 'g4sbb2BeSKodfKzru+OdCCzscMzgwdfT5VBcxgd3zpY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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