SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7fd4ad9a148b082d92da627f229f8da8326449d5fb45be9e1dfc03217b741873' 
  AND token = 'diwQTBVq1VsGltEio6aiUAWYRPY1ke4f89uM8SD7LS4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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