SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '28314a57cf2435953d435afadb4ba422b0ff4b2abb26235054cacd83752c5f6a' 
  AND token = 'BEl4cIXk+rj4a9svENmTr38k10AYFhojR9FGz22u6xA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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