SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bce5e614180b0f873c1b7bf72a3d2969e65c95c681a3d95109111241e1adec21' 
  AND token = 'oFhm/VGEBog0vvOCXAXxJcxcN6NSI3z8kYOV+kdboi4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00060

JSON explain

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