SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1fda096b8574db0124ae338780c884d46ee5e475f3b8cc2b5d3410a0778739b5' 
  AND token = 'QwY/E8MQHIwcdnXcaEpUTdS7KDQ/uo4ykpxvEm3TX2Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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