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

Query time 0.00052

JSON explain

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