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

Query time 0.00037

JSON explain

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