SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ab74e77b693b7899de490c18569154654aa5a1bfb0b00603397cdde82f3f5b59' 
  AND token = '8a5vDN64bX20fGFpSYyS+lC+wH5fYZfoKCDy6JceMx8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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