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

Query time 0.00030

JSON explain

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