SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bc30a9fc0e4541b6c8990b7130267a2bc4393479ff8d4e7214506349cdffcbb6' 
  AND token = 'GcEwNZTl/e/1gPoNuXT4ld4fq2xpZqWIL91ndr13sB4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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