SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2f5ade31bbbcc8524f7e902c5882b0355b39128f8ea143950c80600168dd89c5' 
  AND token = 'TP0hO2Yp0wyhf5T0x8lR7O6WayG6KmOxXUq2YvKvj+E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

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