SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0a21e24cd945f7d12de7b47506d6f81ed81aab7244e7063f70941e53f7d305f5' 
  AND token = 'DXn2geekYkUEUTT3muDA2Chtpfy6FVVmdq2UA6Pke9g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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