SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3e0c288f34b29353c05f41da0dc1695b52e2dd7bae612f827236d43105b07140' 
  AND token = '9PNZ9d8hnxbso3vkqZNxWwpuely2UCjdylcpJF5AJ4M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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