SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a08d1e14368677348e86bca7c51a974865b40ccb30c67fb16be151e3e6d4b717' 
  AND token = 'rAV1bDy5kbUozms5RlvpCHhjKPAuihp1Kr1WjnbJJcM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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