SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4077fc3a0fd375ff3522baa8232536d5031a9f5339d0ccf23d72b591afa1ebd7' 
  AND token = 'lpGdDs/KrYiRKocJrijgdrkNsn5avIgSB2vE8PYveRw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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