SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'df05446d8195462a4c848c2a6141b6c8b80cfd16aaeac237882325d6dfb6241b' 
  AND token = 'oNhcosx6P4/lg9G2oyEcbRtw91o96cQGuVNqZhw+Szs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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