SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '014b55893c7d943c9dfdb751543634c019263d334a22af69a6c4e1e802311521' 
  AND token = 'iAQPV94qx3RZxzm29ZFLQp9tQEIENa4X9CYTIrhbkP4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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