SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e5c6ca8ab421a4e5623b4a5600026ad7f857bf2c50bc78c79d5582346ced087a' 
  AND token = '0cp2nH5tbv09s6YDVW18sF1f+Bb3nI+mHq0g39S/vO8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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